package cabbage.database.idao;

import java.sql.SQLException;
import java.util.List;

import org.codehaus.jettison.json.JSONArray;
import org.codehaus.jettison.json.JSONException;

import cabbage.beans.CheckinBean;

public interface ICheckinDAO {
	
	public int checkin(int userid, String urlString);
		
	public CheckinBean checkin(String urlString) throws SQLException;
	
	public CheckinBean getCheckin(int checkinid) throws SQLException;
	
	public JSONArray getLastCheckins() throws SQLException, JSONException;

}
